package com.yunliuchain.examination.exam.entity;

import java.util.Date;


import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yunliuchain.examination.common.entity.BaseEntity;

/**<p>Title:试题表 </p>
 * <p>Description:对应表名：t_exa_questions  </p>
 * <p>作者：zzc</p>
 * <p>日期：2018-05-22 11:12:13</p>
 * <p>版本：1.0</p>
 */
public class Questions extends BaseEntity{

	private static final long serialVersionUID = 2379725475090623972L;
	
	/*Auto generated properties start*/
	
	/**
	 * 主键
	 */
	private Long questionsId;
	/**
	 * 试题内容
	 */
	private String questionsContent;
	/**
	 * 题目类型(0单选,1多选,2判断,3填空,4问答)
	 */
	private Integer questionsType;
	/**
	 * 试题答案(多个用逗号分开)
	 */
	private String questionsAnswer;
	/**
	 * 试题状态(0无效,1有效的)
	 */
	private Integer status;
	private Date createTime;
	private Date updateTime;
	/**
	 * 创建人id
	 */
	private Long creatorId;
	/**
	 * 创建人名称
	 */
	private String creatorName;
	/**
	 * 更新人id
	 */
	private Long updaterId;
	/**
	 * 更新人名称
	 */
	private String updaterName;

	
	
	public Long getQuestionsId(){
		return questionsId;
	}
	
	public void setQuestionsId(Long questionsId){
		this.questionsId = questionsId;
	}

	public String getQuestionsContent(){
		return questionsContent;
	}
	
	public void setQuestionsContent(String questionsContent){
		this.questionsContent = questionsContent;
	}

	public Integer getQuestionsType(){
		return questionsType;
	}
	
	public void setQuestionsType(Integer questionsType){
		this.questionsType = questionsType;
	}

	public String getQuestionsAnswer(){
		return questionsAnswer;
	}
	
	public void setQuestionsAnswer(String questionsAnswer){
		this.questionsAnswer = questionsAnswer;
	}

	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}

	public Date getCreateTime(){
		return createTime;
	}
	
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Long getCreatorId(){
		return creatorId;
	}
	
	public void setCreatorId(Long creatorId){
		this.creatorId = creatorId;
	}

	public String getCreatorName(){
		return creatorName;
	}
	
	public void setCreatorName(String creatorName){
		this.creatorName = creatorName;
	}

	public Long getUpdaterId(){
		return updaterId;
	}
	
	public void setUpdaterId(Long updaterId){
		this.updaterId = updaterId;
	}

	public String getUpdaterName(){
		return updaterName;
	}
	
	public void setUpdaterName(String updaterName){
		this.updaterName = updaterName;
	}

	


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE );
    }
}
